Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@smithy/config-resolver

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/config-resolver

[![NPM version](https://img.shields.io/npm/v/@smithy/config-resolver/latest.svg)](https://www.npmjs.com/package/@smithy/config-resolver) [![NPM downloads](https://img.shields.io/npm/dm/@smithy/config-resolver.svg)](https://www.npmjs.com/package/@smithy/co

  • 3.0.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16M
decreased by-0.32%
Maintainers
2
Weekly downloads
 
Created

What is @smithy/config-resolver?

@smithy/config-resolver is a package that provides utilities for resolving configuration settings in AWS SDKs built on the Smithy framework. It helps in managing and resolving various configuration options such as region, credentials, and endpoints.

What are @smithy/config-resolver's main functionalities?

Region Resolution

This feature allows you to resolve the region configuration for AWS services. The code sample demonstrates how to resolve the region configuration using the `resolveRegionConfig` function.

const { resolveRegionConfig } = require('@smithy/config-resolver');
const config = { region: 'us-west-2' };
const resolvedConfig = resolveRegionConfig(config);
console.log(resolvedConfig);

Endpoint Resolution

This feature allows you to resolve the endpoint configuration for AWS services. The code sample demonstrates how to resolve the endpoint configuration using the `resolveEndpointConfig` function.

const { resolveEndpointConfig } = require('@smithy/config-resolver');
const config = { endpoint: 'https://example.com' };
const resolvedConfig = resolveEndpointConfig(config);
console.log(resolvedConfig);

Credentials Resolution

This feature allows you to resolve the credentials configuration for AWS services. The code sample demonstrates how to resolve the credentials configuration using the `resolveCredentialsConfig` function.

const { resolveCredentialsConfig } = require('@smithy/config-resolver');
const config = { credentials: { accessKeyId: 'AKIA...', secretAccessKey: 'SECRET...' } };
const resolvedConfig = resolveCredentialsConfig(config);
console.log(resolvedConfig);

Other packages similar to @smithy/config-resolver

FAQs

Package last updated on 14 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc